package com.ruoyi.finishedProduct.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import org.springframework.security.core.parameters.P;

import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class FinishedProduct {
    private Long finishedProductId;
    private String remark;//备注
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;
    private Long deptId;
    private String finishedOrderNum;//成品入库单的编号
    private String finishedProductStatus;//状态
    private String beginTime;
    private String endTime;
    private Long productId;
    private Long reportId;//成品检验报告的主键id
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date effectiveDate;
    private List<FinishedProductModel> finishedProductModels;

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<FinishedProductModel> getFinishedProductModels() {
        return finishedProductModels;
    }

    public void setFinishedProductModels(List<FinishedProductModel> finishedProductModels) {
        this.finishedProductModels = finishedProductModels;
    }

    public String getFinishedProductStatus() {
        return finishedProductStatus;
    }

    public void setFinishedProductStatus(String finishedProductStatus) {
        this.finishedProductStatus = finishedProductStatus;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getFinishedOrderNum() {
        return finishedOrderNum;
    }

    public void setFinishedOrderNum(String finishedOrderNum) {
        this.finishedOrderNum = finishedOrderNum;
    }

    public Long getFinishedProductId() {
        return finishedProductId;
    }

    public void setFinishedProductId(Long finishedProductId) {
        this.finishedProductId = finishedProductId;
    }
}
